/*
 * Copyright (c) 2015. For Intelligent Group.
 */

package com.intelligent.mts.core.dao;

import com.intelligent.mts.core.entity.Production;
import java.util.List;

/**
 * Created by cherry on 2016/7/25.
 */
@MyBatisRepository
public interface ProductionDao {

    void save (Production production);

    void update (Production production);

    Production findByProductionId (String productionId);

    List<Production> findchildrenbyId (String productionId);

    List<Production> findByProductionIdOrParentId (String id);

}
